package com.github.codemperor.core.message.omnisend.bean.order;

public class Products {
    private String productID;
    private String variantID;
    private String variantTitle;
    private String title;
    private Integer quantity;
    private Integer price;
    private String imageUrl;
    private String productUrl;

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public String getVariantID() {
        return variantID;
    }

    public void setVariantID(String variantID) {
        this.variantID = variantID;
    }

    public String getVariantTitle() {
        return variantTitle;
    }

    public void setVariantTitle(String variantTitle) {
        this.variantTitle = variantTitle;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getProductUrl() {
        return productUrl;
    }

    public void setProductUrl(String productUrl) {
        this.productUrl = productUrl;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"productID\":\"")
                .append(productID).append('\"');
        sb.append(",\"variantID\":\"")
                .append(variantID).append('\"');
        sb.append(",\"variantTitle\":\"")
                .append(variantTitle).append('\"');
        sb.append(",\"title\":\"")
                .append(title).append('\"');
        sb.append(",\"quantity\":")
                .append(quantity);
        sb.append(",\"price\":")
                .append(price);
        sb.append(",\"imageUrl\":\"")
                .append(imageUrl).append('\"');
        sb.append(",\"productUrl\":\"")
                .append(productUrl).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
